<?php
    $res = ['name' => 'yy' , 'age' => 17] ;

    echo(json_encode($res)) ;